package com.bwie.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bwie.domain.TbFriend;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.param.TbFriendParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author xinghe
* @description 针对表【tb_friend(好友表)】的数据库操作Mapper
* @createDate 2025-06-17 13:33:47
* @Entity com.bwie.user.domain.TbFriend
*/
@Mapper
public interface TbFriendMapper extends BaseMapper<TbFriend> {

    List<TbFriend> selectByUserId(Integer userId);

    Page<TbFriend> selectByUserIdPage(@Param("page") Page<TbFriend> page,@Param("friend") TbFriendParam tbFriendParam);
}




